Make gdk_window_process_[all]_updates() respect update_freeze_counter
authorMatthias Clasen <mclasen@redhat.com>
Thu, 26 Aug 2004 14:09:08 +0000 (14:09 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 26 Aug 2004 14:09:08 +0000 (14:09 +0000)
commitc429b89d563c4a59c62359704b5eaaf9aee234cc
tree12e59013a19de3f7982ccf313cbf16672574aaca
parentcd50f460a5feed71868a6530e5baad08b1a326af
Make gdk_window_process_[all]_updates() respect update_freeze_counter

2004-08-26  Matthias Clasen  <mclasen@redhat.com>

Make gdk_window_process_[all]_updates() respect
update_freeze_counter  (#144272, Soeren Sandmann)

* gdk/gdkwindow.c (gdk_window_schedule_update): New function to
install an idle for gdk_window_update_idle() if one isn't there
already.
(gdk_window_process_all_updates):
(gdk_window_process_updates): Only process the updates if the
window isn't frozen.
(gdk_window_invalidate_maybe_recurse): Schedule an update when
necessary.
(gdk_window_thaw_updates): Use gdk_window_schedule_update() instead
of directly installing the idle.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdkwindow.c